<?php
/**
 * Zend Framework (http://framework.zend.com/)
 *
 * @link      http://github.com/zendframework/Backend for the canonical source repository
 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
 * @license   http://framework.zend.com/license/new-bsd New BSD License
 */

namespace Backend\Controller;

use Zend\Mvc\Controller\AbstractActionController;
use Zend\View\Model\ViewModel;

class IndexController extends AbstractActionController
{
	protected $SitemapService;
	protected $SitemapTable;

    public function indexAction()
    {
    	$this->layout('layout/bienvenue');

//     	if (!$this->getAuthService()->hasIdentity()){
//     		return $this->redirect()->toUrl("/backend/identification/index");
//     	}
        return new ViewModel ();
    }

    /* Déclarer un incident */
    public function declarerincidentAction() {
    	$this->layout()->setVariable("actionCustomVariable", ("Formulaire de déclaration d'incident"));
    }

    /* Déclarer un incident */
    public function presentationAction() {
    	$this->layout()->setVariable("actionCustomVariable", ("Présentation de l'administration"));
    }

}
